package com.lufan.data.vo;

import lombok.Data;

import java.util.List;

@Data
public class VideoDownLoadVo {
    private Integer code;
    private String message;
    private Integer ttl;
    private Data data;

    @lombok.Data
    public static class Data {
        //视频清晰度代码
        private Integer quality;
        //视频格式
        private String format;
        // 支持的清晰度列表
        private List<String> accept_description;
        //DASH 流信息
        private Dash dash;
    }

    @lombok.Data
    public static class Dash {
        // 视频长度(秒值)
        private Long duration;
        private List<Video> video;
        private List<Audio> audio;
    }
    @lombok.Data
    public static class Video {
        // 清晰度标识/视频伴音音质代码
        private Integer id;
        private String baseUrl;
        private List<String>backupUrl;
        //所需最低带宽
        private Long bandwidth;
        private Integer width;
        private Integer height;
        //视频帧率
        private String frameRate;
    }
    @lombok.Data
    public static class Audio {
        // 清晰度标识/视频伴音音质代码
        private Integer id;
        private String baseUrl;
        private List<String>backupUrl;
        //所需最低带宽
        private Long bandwidth;
    }
}
